import request from "@/utils/request"

//请假类型查询
export function holidayType(data){
    return request({
        url: '/holidaytype/list',
        method: 'post',
        headers:{
            'Content-Type': 'application/json;charset=utf-8'
        },
        data
    })
}

//请假记录查询
export function holidayRecords(data){
    return request({
        url: '/holiday/history',
        method: 'post',
        headers:{
            'Content-Type': 'application/json;charset=utf-8'
        },
        data
    })
}

//请假详情接口
export function holidayInfo(data){
    return request({
        url:'/holiday/info',
        method:'post',
        headers:{
            'Content-Type': 'application/json;charset=utf-8'
        },
        data
    })
}
